<?php
	require('xiaonei.class.php');
	$api_key = '24cdda9dc71540c099b7e47ce9423f6a';
	$secret = '3f7fe9ed448f4c76badbc6a8a3508a00';
	$xn = new XNapp($api_key,$secret);
	/*
	?Array ( 	[origin] => 104
				 [xn_sig_method] => get 
				 [xn_sig_time] => 1265187526172 
				 [xn_sig_added] => 0 
				 [xn_sig_api_key] => 24cdda9dc71540c099b7e47ce9423f6a 
				 [xn_sig_app_id] => 12359 
				 [xn_sig_domain] => renren.com 
				 [xn_sig] => 9c0d240446a483d2c0a3fbbdeacd56bc 
	 )
	*/
	print_r($_REQUEST);
	//print_r($xn->auth('getSession'));
	print_r($xn->users('getLoggedInUser'));
?>